﻿using System.Web.Mvc;

namespace Academy.Web.Controllers
{
    public class LessonController : Controller
    {
        // GET: Lesson
        public ActionResult Index(int? bookId)
        {
            if (bookId.HasValue)
            {
                // Get info of book

            // Get all lesson of book
            }
            return View();
        }

        [HttpPost]
        public ActionResult Vocabularies(int? bookId, int? lessonId)
        {
            // return all vocabularies of lesson in a book
            return View();
        }
    }
}